package Day12;

import javax.xml.transform.Source;
import java.awt.font.NumericShaper;
import java.io.File;
import java.nio.file.Files;

public class Text3 {
    /*public static void main(String[] args) {
        int number = sum(100);
        System.out.println(number);

    }

    public static int sum(int number){
        if(number == 1){
            return number;
        }else{
            return number+sum(number - 1);
        }
    }*/

   /* //计算6的阶乘
    public static void main(String[] args) {
        int number = sum(4);
        System.out.println(number);
    }

    public static int sum(int number){
        if(number == 1){
            return number;
        }else{
            return number * sum(number -1);
        }
    }
*/




}
